package com.zhida.smartcontrol.pagectrl.lampmanager.singlelamp;

import com.zhida.smartcontrol.common.bean.LampSwitchBean;
import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;

import java.util.List;

/**
 * author: tanjianpei
 * date: 2019/10/17 017 15:10
 * description:
 */
public class SingleLampContract {
    interface View extends BaseView {

        void checkDataOk(int type, int switchType, List<LampSwitchBean> beanList);
    }

    interface Presenter extends BasePresenter<View> {
        void checkData(List<LampSwitchBean> sourceList, int type);
    }
}
